package com.hy.erp.inventory.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column ;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Index ;
import org.hibernate.validator.NotNull;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;

import com.hy.erp.inventory.dao.interfaces.IQualityControlMannerDao;
import com.hy.erp.inventory.pojo.interfaces.IQualityControlManner;
import com.hy.erp.inventory.pojo.interfaces.IRoleType;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;
/**
 * 质检方式
 * @author Administrator
 *
 */
/*@Entity
@Name("qualityControlManner")
@Scope(ScopeType.SESSION)
@Table(name="qualitycontrolmanners")
@DaoA(IQualityControlMannerDao.class)*/
//public class QualityControlManner extends AbstractPersistentEntity implements IQualityControlManner {
public class QualityControlManner extends MyBaseModel //implements IPositonType
{
	private static final long	serialVersionUID	=
														- 7257360244960133023L ;
	
	public QualityControlManner(){}

	

	@Column(name="qualitycontrolname",unique=false,nullable=false,insertable=true,updatable=true)
	@Index(name="qualitycontrolnameIndex")
	public String getQualitycontrolname ( )
	{
		return this.get(IQualityControlManner.QUALITYCONTROLNAME);
	}

	

	//####################################################################################################3
	
	

	public void setQualitycontrolname (
										String qualitycontrolname )
	{
		super.set(IQualityControlManner.QUALITYCONTROLNAME, qualitycontrolname);
	}

	@Column(name="description",unique=false,nullable=false,insertable=true,updatable=true)
	public String getDescription ( )
	{
		return this.get(IQualityControlManner.DESCRIPTION) ;
	}
	public void setDescription (
									String description )
	{
		super.set(IQualityControlManner.DESCRIPTION, description);
	}
	
	
}
